package com.qqtech.qquan.user.dao;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.qqtech.core.frame.dao.BaseDaoImpl;
import com.qqtech.qquan.user.model.UserLogin;

@Repository
public class UserLoginDaoImpl extends BaseDaoImpl<UserLogin>implements UserLoginDao {
	public static final Logger log = LoggerFactory.getLogger(UserLoginDaoImpl.class);

	@Override
	public UserLogin getByToken(String token) {
		return sqlSessionTemplate.selectOne(getSqlName("selectByToken"), token);
	}
}
